package com.hilatest.osgi;

public class GreetingImpl implements Greeting {

	private final String name;
	
	static Greeting instance;
	
	GreetingImpl(String name){
		this.name = name;
	}
	
	public static Greeting  getInstance(){
		return instance;
	}
	
	/* (non-Javadoc)
	 * @see com.hilatest.osgi.Greeting#sayHello()
	 */
	public void sayHello(){
		System.out.println("hello "+ this.name+" !");
	}
}
